* {
	box-sizing: border-box;
}

body {
	font-family: "Microsoft JhengHei", "SF Pro TC", "SF Pro Text", "PingFang TC", Arial, sans-serif;
	font-size: 18px;
	box-sizing: border-box;
	line-height: 1.8;
	background-color: #fff7e7;
	padding: 0;
	margin: 0;
}
a {
	text-decoration: none;
	display: block;
	font-size: 20px;
	color: #000000;
}
img {
	width: 100%;
	display: block;
	margin: 0 auto;
}
p {
	font-size: 18px;
	line-height: 1.8;
	margin: 0px 0 20px 0;
}
h1 {
	display: none;
}
h2 {
	font-size: 36px;
	text-align: left;
	margin-bottom: 0;
}
h3 {
	font-size: 30px;
	line-height: 150%;
	margin: 0 0 20px 0;
}
h4 {
	text-align: center;
	color: #FFFFFF;
	background-color: #EAA844;
	font-size: 18px;
	margin: 60px 0 10px 0;
	display: inline-block;
	padding: 0 8px;
}
.result {
	text-align: center;
}
.wrapper {
	width: 1200px;
	height: auto;
	margin: 0 auto;
}
.container {
	width: 100%;
	height: auto;
	background-image: url("../img/bk.png");
	background-repeat: no-repeat;
	background-size: contain;
	background-position: top center;
	overflow: hidden;
}
.keyvisual {
	width: 100%;
	padding: 30%;
}
.article {
	height: auto;
	padding: 0 200px 30px 200px;
	background-color: #FFFCF8;
}
.article a.link {
	display: inline-block;
	text-decoration: underline;
}
.article a.link:hover {
	color: #cd9643;
}
.article a span {
	font-size: 14px;
	color: #8F7A5B;
}
.article img {
	width: 90%;
	margin: 40px 40px 10px 0;
}
.article .description {
	width: 90%;
	font-size: 16px;
	margin: 0px 40px 10px 0;
}
/* span:target */
#tab-1:target,
#tab-2:target,
#tab-3:target,
#tab-4:target {
	border-bottom: solid 7px #EAA844;
}
/*頁籤變換*/
#tab-1:target~#tab>ul li a[href$="#tab-1"],
#tab-2:target~#tab>ul li a[href$="#tab-2"],
#tab-3:target~#tab>ul li a[href$="#tab-3"],
#tab-4:target~#tab>ul li a[href$="#tab-4"],
#tab-5:target~#tab>ul li a[href$="#tab-5"] {
	border-bottom: solid 7px #EAA844;
}
/*頁籤內容顯示*/
#tab-1:target~#tab>div.tab-content-1,
#tab-2:target~#tab>div.tab-content-2,
#tab-3:target~#tab>div.tab-content-3,
#tab-4:target~#tab>div.tab-content-4,
#tab-5:target~#tab>div.tab-content-5 {}
#tab {
	width: 800px;
}
#tab>ul {
	overflow: hidden;
	margin: 0;
	padding: 10px 20px 0 10%;
}
/* 頁籤ul */
#tab ul li {
	list-style-type: none;
	text-align: center;
}
#tab ul li a {
	width: 130px;
	font-weight: bold;
	float: left;
	padding: 10px;
}
/*頁籤div內容*/
#tab>div {
	clear: both;
	height: 0;
	overflow: hidden;
	visibility: hidden;
	-webkit-transition: all .4s ease-in-out;
	-moz-transition: all .4s ease-in-out;
	-ms-transition: all .4s ease-in-out;
	-o-transition: all .4s ease-in-out;
	transition: all .4s ease-in-out;
}
/* span:target */
#tab-1:target,
#tab-2:target,
#tab-3:target,
#tab-4:target #tab-5:target {
	border-bottom: solid 7px #EAA844;
}
/*頁籤變換&第一筆*/
span~#tab>ul li:first-child a {
	border-bottom: solid 7px #EAA844;
}
/*第一筆被切換*/
span:target~#tab>ul li:first-child a {
	border-bottom: none;
}
span:target~#tab>div:first-of-type {
	visibility: hidden;
	height: 0;
	padding: 0 15px;
}
/*頁籤內容顯示&第一筆*/
span~#tab>div:first-of-type,
#tab-1:target~#tab>div.tab-content-1,
#tab-2:target~#tab>div.tab-content-2,
#tab-3:target~#tab>div.tab-content-3,
#tab-4:target~#tab>div.tab-content-4,
#tab-5:target~#tab>div.tab-content-5 {
	visibility: visible;
	height: auto;
}
.logo {
	width: 1200px;
	background-color: #F1E7D8;
	padding: 28px 20px 20px 20px;	
	/* position: absolute; */
}
.d-flex {
	display: flex;
}
.sponsor-tit {
	width: 35%;
	text-align: right;
}
.logo img.sponsor1 {
	width: 140px;
	display: inline-block;
	position: relative;
	top: 27%;
}
.logo img.sponsor2 {
	width: 110px;
	display: inline-block;
}
.logo ul {
	text-decoration: none;
	margin: 0;
	padding: 0;
	list-style: none;
	flex-direction: row;
	flex-wrap: wrap;
	justify-content: flex-start;
	align-items: center;
}
.logo li {
	width: 20%;
	margin-bottom: 20px;
}
.logo li.sp{
	width: 34%;
}
.logo li.sp1{
	width: 18%;
}
.logo li.sp2{
	width: 16%;
}
.logo li.sp3{
	width: 27%;
}
.logo li img {
	padding: 0 15px;
}
.logo .logo-bottom .sponsor-tit {
	width: 21.8%;
}
.logo .logo-bottom li {
	width: 50%;
}
.logo .logo-bottom li.sp4{
	width: 38%;
}
/*go top*/
#myBtn {
	display: none;
	position: fixed;
	bottom: 80px;
	right: 50px;
	z-index: 5;
	font-size: 18px;
	outline: none;
	background-color: #cd9643;
	color: white;
	cursor: pointer;
	padding: 15px;
	border-radius: 60px;
	border: 0px solid #000000;
}
#myBtn:hover {
	background-color: #555;
}
/*w3c輪播end*/
#tab .tab-content-5 .slideshow-container {
	max-width: 600px;
	position: relative;
	margin: auto;
	height: auto;
	margin-bottom: 20px;
}
.tab-content-5 img {
	width: 100%;
	margin: 0 40px 10px 0;
}
.mySlides {
	display: none;
}
.prev,
.next {
	cursor: pointer;
	position: absolute;
	top: 45%;
	width: auto;
	margin-top: -22px;
	padding: 16px;
	color: white;
	font-weight: bold;
	font-size: 48px;
	transition: 0.6s ease;
	border-radius: 0 3px 3px 0;
	user-select: none;
	text-shadow: black 0.1em 0.1em 0.2em;
}
.next {
	right: 0;
	border-radius: 3px 0 0 3px;
}
.prev:hover,
.next:hover {
	background-color: rgba(0, 0, 0, 0.8);
}
.text {
	color: #f2f2f2;
	font-size: 15px;
	position: absolute;
	bottom: 0px;
	width: 100%;
	text-align: center;
	background-color: rgba(0, 0, 0, 0.7)
}
.numbertext {
	color: #000000;
	font-size: 12px;
	padding: 8px 12px;
	position: absolute;
	top: 0;
	right: 0;
}
.dot {
	cursor: pointer;
	height: 12px;
	width: 12px;
	margin: 5px 5px 20px 0;
	background-color: #bbb;
	border-radius: 50%;
	display: inline-block;
	transition: background-color 0.6s ease;
}
.active,
.dot:hover {
	background-color: #717171;
}
.fade {
	-webkit-animation-name: fade;
	-webkit-animation-duration: 1.5s;
	animation-name: fade;
	animation-duration: 1.5s;
}
@-webkit-keyframes fade {
	from {
		opacity: .4
	}

	to {
		opacity: 1
	}
}
@keyframes fade {
	from {
		opacity: .4
	}

	to {
		opacity: 1
	}
}
@media screen and (min-width: 768px) and (max-width: 1024px) {
	p {
		font-size: 18px;
		margin: 0 0 5px 0;
	}
	h2 {
		font-size: 30px;
	}
	h3 {
		font-size: 26px;
	}
	h4 {
		font-size: 20px;
		margin:30px 0 5px 0;
	}
	.wrapper {
		width: 100%;
	}
	.container {
		background-image: url("../img/bk_m.png");
		background-repeat: no-repeat;
		background-size: contain;
		background-position: top center;
	}
	.keyvisual {
		width: 100%;
		padding: 55%;
	}
	.article {
		padding: 25px 20px;
	}

	.article img {
		width: 100%;
		margin: 0;
	}

	.article a.link {
		font-size: 18px;
	}

	.article a span {
		font-size: 14px;
	}

	.article .description {
		width: 100%;
		font-size: 14px;
	}
	.tab-content-5 img {
		width: 100%;
		margin: 0 40px 30px 0;
	}
	#tab {
		width: 100%;
		padding: 10px 0;
	}
	#tab>ul {
		padding: 0 0 0 5%;
	}
	#tab ul li a {
		font-size: 20px;
	}
	#tab .tab-content-5 .slideshow-container {
		max-width: none;
	}
	#tab-1:target~#tab>div.tab-content-1,
	#tab-2:target~#tab>div.tab-content-2,
	#tab-3:target~#tab>div.tab-content-3,
	#tab-4:target~#tab>div.tab-content-4,
	#tab-5:target~#tab>div.tab-content-5 {}
	#tab {
	width: 100%;
}
	span~#tab>ul li:first-child a {
	border-bottom: solid 7px #EAA844;
}
	.logo {
		padding: 15px;
	}
	.sponsor-tit{
		width: 65%;
	}
	.logo img.sponsor1 {
		width: 150px;
		left: 5%;
		top: 3%;
	}
	.logo li {
		width: 35%;
	}
	.logo li.sp{
	width: 57%;
}	
	.logo li.sp1{
	width: 30%;
}
	.logo li.sp2{
		width: 30%;
	}
	.logo li.sp3{
		width: 50%;
	}
	.logo .logo-bottom .sponsor-tit {
	width: 25%;
}
	.logo .logo-bottom li.sp4{
	width: 41%;
}
	#myBtn {
		font-size: 22px;
		bottom: 30px;
		right: 30px;
	}
	.text {
		font-size: 24px;
	}
	.numbertext {
		font-size: 12px;
	}
}

@media screen and (max-width: 414px) {
	p {
		font-size: 16px;
		margin: 0 0 5px 0;
	}

	h2 {
		font-size: 25px;
	}

	h3 {
		font-size: 20px;
		text-align: initial;
	}
	h4 {
		font-size: 18px;
		margin:30px 0 5px 0;
	}
	.wrapper {
		width: 100%;
	}
	.container {
		background-image: url("../img/bk_s.png");
		background-repeat: no-repeat;
		background-size: contain;
		background-position: top center;
		overflow: hidden;
	}
	.keyvisual {
		width: 100%;
		padding: 54%;
	}
	.article {
		padding: 0 10px;
	}
	.article img {
		width: 100%;
		margin: 0;
	}
	.article a.link {
	font-size: 16px;
}
	.article a span {
		font-size: 12px;
	}
	.article .description {
		width: 100%;
		margin: 0 0 20px 0;
		font-size: 14px;
	}
	#tab {
		width: 100%;
		padding: 10px 0;
	}
	#tab>ul {
		padding: 0;
	}
	#tab ul li {
	display: flex;
    flex-direction: column;
    align-items: center;
	}
	#tab ul li a {
		width: auto;
		font-size: 18px;
		padding: 0;
	}
	#tab .tab-content-5 .slideshow-container {
		max-width: none;
	}
	#tab-1:target~#tab>ul li a[href$="#tab-1"],
	#tab-2:target~#tab>ul li a[href$="#tab-2"],
	#tab-3:target~#tab>ul li a[href$="#tab-3"],
	#tab-4:target~#tab>ul li a[href$="#tab-4"],
	#tab-5:target~#tab>ul li a[href$="#tab-5"] {
	border-bottom: solid 2px #EAA844;
    width: 95%;	
	}
	span~#tab>ul li:first-child a {
	border-bottom: solid 2px #EAA844;
    width: 95%;
}
	.logo {
		padding: 15px;
	}
	.logo img.sponsor1 {
		width: 90px;
		left: 2%;
		top: 1%;
	}
	.logo img.sponsor2 {
		width: 68px;
		left: 2%;
		top: 10%;
	}
	.logo li {
		width: 45%;
	}
	.logo li.sp{
	width: 86%;
}	
	.logo li.sp1{
	width: 40%;
}
	.logo li.sp2{
		width: 37%;
	}
	.logo li.sp3{
		width: 55%;
	}
	.logo .logo-bottom .sponsor-tit {
	width: 31%;
}
	.logo .logo-bottom li.sp4{
	width: 38%;
}
	#myBtn {
		font-size: 15px;
		bottom: 20px;
		right: 20px;
	}
	.tab-content-5 img {
		width: 100%;
		margin: 0 40px 0 0;
	}
	.prev,.next {
		font-size: 28px;
		padding: 10px;
	}
		.text {
		font-size: 16px;
	}
	.numbertext {
		font-size: 12px;
	}
}
@media screen and (max-width: 375px) {
	.logo .logo-bottom .sponsor-tit {
    width: 39%;
	}
	.logo img.sponsor1 {
    top: 0%;
}
}